package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.footballmanager.pandafootball.system.domain.enums.JNFL;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Entity
@Setter
@Getter
@ToString
public class FootTableTitle extends BaseEntity implements Serializable {
    @Column(name = "table_name", length = 200)
    @NotNull
    private String tableName;
    //表头名称
    @Column(name = "name", length = 200)
    @NotNull
    private String name;
    //排序
    @Column(name = "sort")
    @NotNull
    private Integer sort;
    @Transient
    private String yw;
    @Transient
    private JNFL jnfl;
}
